﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FDD RID: 4061
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournAreaUpdateScNotify : IMessage<RogueTournAreaUpdateScNotify>, IMessage, IEquatable<RogueTournAreaUpdateScNotify>, IDeepCloneable<RogueTournAreaUpdateScNotify>, IBufferMessage
	{
		// Token: 0x1700335B RID: 13147
		// (get) Token: 0x0600B593 RID: 46483 RVA: 0x001E9F5F File Offset: 0x001E815F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournAreaUpdateScNotify> Parser
		{
			get
			{
				return RogueTournAreaUpdateScNotify._parser;
			}
		}

		// Token: 0x1700335C RID: 13148
		// (get) Token: 0x0600B594 RID: 46484 RVA: 0x001E9F66 File Offset: 0x001E8166
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournAreaUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700335D RID: 13149
		// (get) Token: 0x0600B595 RID: 46485 RVA: 0x001E9F78 File Offset: 0x001E8178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournAreaUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600B596 RID: 46486 RVA: 0x001E9F7F File Offset: 0x001E817F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournAreaUpdateScNotify()
		{
		}

		// Token: 0x0600B597 RID: 46487 RVA: 0x001E9F92 File Offset: 0x001E8192
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournAreaUpdateScNotify(RogueTournAreaUpdateScNotify other) : this()
		{
			this.rogueTournAreaInfo_ = other.rogueTournAreaInfo_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B598 RID: 46488 RVA: 0x001E9FBC File Offset: 0x001E81BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournAreaUpdateScNotify Clone()
		{
			return new RogueTournAreaUpdateScNotify(this);
		}

		// Token: 0x1700335E RID: 13150
		// (get) Token: 0x0600B599 RID: 46489 RVA: 0x001E9FC4 File Offset: 0x001E81C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueTournAreaInfo> RogueTournAreaInfo
		{
			get
			{
				return this.rogueTournAreaInfo_;
			}
		}

		// Token: 0x0600B59A RID: 46490 RVA: 0x001E9FCC File Offset: 0x001E81CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournAreaUpdateScNotify);
		}

		// Token: 0x0600B59B RID: 46491 RVA: 0x001E9FDA File Offset: 0x001E81DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournAreaUpdateScNotify other)
		{
			return other != null && (other == this || (this.rogueTournAreaInfo_.Equals(other.rogueTournAreaInfo_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B59C RID: 46492 RVA: 0x001EA010 File Offset: 0x001E8210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rogueTournAreaInfo_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B59D RID: 46493 RVA: 0x001EA044 File Offset: 0x001E8244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B59E RID: 46494 RVA: 0x001EA04C File Offset: 0x001E824C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B59F RID: 46495 RVA: 0x001EA055 File Offset: 0x001E8255
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rogueTournAreaInfo_.WriteTo(ref output, RogueTournAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B5A0 RID: 46496 RVA: 0x001EA07C File Offset: 0x001E827C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rogueTournAreaInfo_.CalculateSize(RogueTournAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B5A1 RID: 46497 RVA: 0x001EA0B5 File Offset: 0x001E82B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournAreaUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.rogueTournAreaInfo_.Add(other.rogueTournAreaInfo_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B5A2 RID: 46498 RVA: 0x001EA0E3 File Offset: 0x001E82E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B5A3 RID: 46499 RVA: 0x001EA0EC File Offset: 0x001E82EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 98U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rogueTournAreaInfo_.AddEntriesFrom(ref input, RogueTournAreaUpdateScNotify._repeated_rogueTournAreaInfo_codec);
				}
			}
		}

		// Token: 0x0400496A RID: 18794
		private static readonly MessageParser<RogueTournAreaUpdateScNotify> _parser = new MessageParser<RogueTournAreaUpdateScNotify>(() => new RogueTournAreaUpdateScNotify());

		// Token: 0x0400496B RID: 18795
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400496C RID: 18796
		public const int RogueTournAreaInfoFieldNumber = 12;

		// Token: 0x0400496D RID: 18797
		private static readonly FieldCodec<RogueTournAreaInfo> _repeated_rogueTournAreaInfo_codec = FieldCodec.ForMessage<RogueTournAreaInfo>(98U, EggLink.DanhengServer.Proto.RogueTournAreaInfo.Parser);

		// Token: 0x0400496E RID: 18798
		private readonly RepeatedField<RogueTournAreaInfo> rogueTournAreaInfo_ = new RepeatedField<RogueTournAreaInfo>();
	}
}
